$OpenBSD: patch-bindings_ruby_extconf_rb,v 1.3 2013/11/05 17:49:01 sthen Exp $
--- bindings/ruby/extconf.rb.orig	Thu May 23 08:55:07 2013
+++ bindings/ruby/extconf.rb	Thu May 23 20:20:56 2013
@@ -14,5 +14,5 @@ elsif /aix/ =~ RUBY_PLATFORM
 end
 
 dir_config("rrd","../../src","../../src/.libs")
-have_library("rrd", "rrd_create")
+$LDFLAGS+= ' -lrrd'
 create_makefile("RRD")
